package net.openvision.music.ui;

import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.geom.Rectangle2D;

import net.openvision.music.model.Bar;

public class DefaultBarRenderer implements BarRenderer {

	@Override
	public void render(Graphics g, Rectangle2D r, Bar... bars) {
		Graphics2D gfx = (Graphics2D)g;
		gfx.draw(r);
	}

	@Override
	public Dimension getSize(Bar bar) {
		return new Dimension(50, 20);
	}

}
